<?

include_once "accesscontrol.php";

	if (is_array($JobCategory2))
	{
		$JobStr = implode("|" , $JobCategory2);
	}
	else
	{
		$JobStr = $JobCategory2;
	}
	
	$position = strip_tags($position);
	$respon = strip_tags($respon);
	$require = strip_tags($require);
	$s_desc = strip_tags($s_desc);

	$q3 = "update job_post set
	position = \"$position\",
	JobCategory = \"$JobStr\", 
	CompanyCountry = '$_POST[job_location]',
	short_desc = \"$s_desc\", 
	responsibilities = \"$respon\",
	requirements  = \"$require\",
	CompanyState = \"$state\", 
	j_target = \"$j_target2\", 
	salary = \"$salary2\", 
	s_period = \"$s_period2\"  
	where job_id = \"$job_id22\" ";
	$r3 = mysql_query($q3) or die(mysql_error());


echo "<br><br><center><span class=HeaderClass>The position \"$position\" was updated.</span></center>";


?>
<? include_once('../footer.php'); ?>